<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
	#header {
		text-align: center;
		border-bottom: 2px solid black;
	}
	
	.contents {
		font-size:16px;
		font-family: 微软雅黑;
	}
	
	#time {
		color:red;
		border:2px solid lightgray;

	}
</style>
</head>
<body>
<form action="" method="post">
		<div id="header">
			<h2>2016-2017年度考${qesPaperEntity.name }试试卷</h2>
			<h4>考试时间:${paper.total_minutes }分钟</h4>
		</div>
		<div id="choice">
			<h4>一、单选题 共${qesPaperEntity.singleOptionNumber }题，每题${qesPaperEntity.singleOptionEachPoint }分</h4>
			<c:forEach items="${sQuestions }" var="choice" varStatus="status">
				<span class="contents">${status.count }</span>、${choice.question }<br/>
				<input type="hidden"  value="${choice.id }" name="examId" />
				<input type="radio" value="A" name="choice${choice.id }" />A、${choice.answer_a }<br/>
				<input type="radio" value="B" name="choice${choice.id }" />B、${choice.answer_b }<br/>
				<input type="radio" value="C" name="choice${choice.id }" />C、${choice.answer_c }<br/>
				<input type="radio" value="D" name="choice${choice.id }" />D、${choice.answer_d }<br/>
				<br/>
			</c:forEach>
		</div>
		<div id="multipleChoice">
			<h4>二、多选题 共${qesPaperEntity.multiOptionNumber }题，每题${qesPaperEntity.multiOptionEachPoint }分</h4>
			<c:forEach items="${mQuestions }" var="multi" varStatus="status">
				<span class="contents">${status.count }</span>、${multi.question }<br/>
				<input type="hidden" id="mutiId${multi.id }"  value="${multi.id }" name="examId" />
				<input type="checkbox" value="A-${multi.id }" name="multi${multi.id }" />A、${multi.answer_a }<br/>
				<input type="checkbox" value="B-${multi.id }" name="multi${multi.id }" />B、${multi.answer_b }<br/>
				<input type="checkbox" value="C-${multi.id }" name="multi${multi.id }" />C、${multi.answer_c }<br/>
				<input type="checkbox" value="D-${multi.id }" name="multi${multi.id }" />D、${multi.answer_d }<br/>
				<br/>
			</c:forEach>
		</div>
		<div id="judge">
			<h4>三、判断题 共${qesPaperEntity.judgeNumber }题，每题${qesPaperEntity.judgeEachPoint }分</h4>
			<c:forEach items="${jQuestions }" var="judge" varStatus="status">
				<span class="contents">${status.count }</span>、${judge.question }
				<input type="hidden"  value="${judge.id }" name="examId" />
				<input type="radio" value="1" name="judge${judge.id }" />√
				<input type="radio" value="2" name="judge${judge.id }" />×<br/>
				<br/>
			</c:forEach>
		</div>
		
	</form>

</body>
</html>